import 'package:flutter/cupertino.dart';
import 'package:flutter_public/flutter_public.dart';

import '../test_list_page.dart';

/// FileName talent_main_notifier
///
/// @Author lax
/// @Date 2023/11/3
///
/// @Description

class TestMainNotifier extends TabNotifier {
  TestMainNotifier({
    required TickerProvider provider,
    String? showIndexes,
    int? initialIndex,
  }) : super(
            provider: provider,
            showIndexes: showIndexes,
            initialIndex: initialIndex,
            dataSource: [
              TabModel(
                title: '分类1',
                type: 0,
                key: GlobalKey<TestListPageState>(),
              ),
              TabModel(
                title: '分类2',
                type: 1,
                key: GlobalKey<TestListPageState>(),
              ),
              TabModel(
                title: '分类3',
                type: 2,
                key: GlobalKey<TestListPageState>(),
              ),
            ]);
}
